package com.spring.cloud.study.user.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.spring.cloud.study.common.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * Created with IntelliJ IDEA.
 * User: 齐丹枫
 * Date: 2018/6/1
 * Time: 13:16
 * To change this template use File | Settings | File Templates.
 * Description:
 */
@Mapper
public interface SysUserDao extends BaseMapper<SysUser>{

    SysUser findUserByUsername(@Param("username") String username);
}
